<?php

namespace app\home\controller;


use app\Base;
use app\service\UploadServices;
use think\response\View;

class Upload extends Base
{
    /**
     * 上传测试
     * @param UploadServices $services
     * @return View
     */
    public function show(UploadServices $services): View
    {
        $token = $services::getToken();
        return view('/upload/index', ['token' => $token]);
    }

    public function getToken()
    {
        dd(23123);
    }
}
